package com.wx.mall.operate.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author z
 * @since 2020-6-4
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("op_reb_discount")
@ApiModel(value = "RebDiscount对象",description = "")
public class RebDiscount implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "满减ID")
    private Long rebateId;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "优惠门槛")
    private Integer threshold;

    @ApiModelProperty(value = "优惠方式")
    private Integer mode;

}
